<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>

<jsp:include page="header.jsp"/>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">



</head>

<link href="css/style.css" rel="stylesheet" type="text/css" />



<body>

<div class="content">

	<div class="wrapperf">

		<div class="centercol">

			<table class="view">

				<c:if test='${item.type eq "kitap"}'>

					<tr>

						<td height="30" width="140" class="bold">Kitap ismi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.i_name}</td>

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>

					</tr>			

					<tr><td height="30" width="140" class="bold">Yazarın ismi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.y_name}</td>	

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>

					</tr>

					<tr><td height="30" width="140" class="bold">Kitabın sıra numarası</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.itemID}</td>

					</tr>

					<tr><td height="30" width="140" class="bold">Kitabın sahibi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.owner}</td>	

					</tr>

				</c:if>

				<c:if test='${item.type eq "film"}'>

					<tr><td height="30" width="140" class="bold">Filmin ismi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.i_name}</td>	

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>

					</tr>

					<tr><td height="30" width="140" class="bold">Yönetmenin ismi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.y_name}</td>	

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>

					</tr>

					<tr><td height="30" width="140" class="bold">Filmin sıra numarası</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.itemID}</td>	

					</tr>

					<tr><td height="30" width="140" class="bold">Filmin sahibi</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200">${item.owner}</td>

					</tr>

				</c:if>	

					<tr><td height="30" width="140" class="bold">Ödünç verilen kişi</td>

						<td height="30" width="20" class="bold">:</td>

						<c:if test='${item.isLent eq "1" }'>

						<td height="30" width="200" height="auto">${item.whoLentIt}</td>

						</c:if>

						<c:if test='${item.isLent eq "0" }'>

						<td height="30" width="200" height="auto">Dolabına bak :)</td>

						</c:if>

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>

					</tr>

					<tr><td height="30" width="140" class="bold">Sahibinin yorumu</td>

						<td height="30" width="20" class="bold">:</td>

						<td height="30" width="200" height="auto">${item.desc}</td>

						<td>

						<a href="#"><img src="images/edit.jpg" width="15" height="15"/>

						</a></td>	

					</tr>

			</table>

		</div>

	</div>

</div>

</body>

</html>